|
rs4855v 2.2.1
|
This file contains API for RS485 5V Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_uart.h"Go to the source code of this file.
Data Structures | |
| struct | rs4855v_t |
| RS485 5V Click context object. More... | |
| struct | rs4855v_cfg_t |
| RS485 5V Click configuration object. More... | |
Macros | |
| #define | DRV_BUFFER_SIZE 200 |
| RS485 5V driver buffer size. | |
| #define | RS4855V_MAP_MIKROBUS(cfg, mikrobus) |
| MikroBUS pin mapping. | |
Enumerations | |
| enum | rs4855v_return_value_t { RS4855V_OK = 0 , RS4855V_ERROR = -1 } |
| RS485 5V Click return value data. More... | |
Functions | |
| void | rs4855v_cfg_setup (rs4855v_cfg_t *cfg) |
| RS485 5V configuration object setup function. | |
| err_t | rs4855v_init (rs4855v_t *ctx, rs4855v_cfg_t *cfg) |
| RS485 5V initialization function. | |
| void | rs4855v_generic_write (rs4855v_t *ctx, char *data_buf, uint16_t len) |
| RS485 5V data writing function. | |
| err_t | rs4855v_generic_read (rs4855v_t *ctx, char *data_buf, uint16_t max_len) |
| RS485 5V data reading function. | |
| void | rs4855v_send_command (rs4855v_t *ctx, char *command) |
| Send command. | |
This file contains API for RS485 5V Click Driver.